Jeg\Util\Style_Generator D

Total Complexity 166
Dependencies 5
Dependents 2
Total lines 939
Lines of code 580
Logical lines of code 304
Comment lines 220
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
get_font_variant()
D
29 29 170
font_parse()
B
42 20 49
generate_font_url()
B
44 17 43
style_parse()
A
54 12 19
build_preview_style()
A
47 10 34
add_google_font_to_header()
A
50 9 26
generate_css()
A
51 9 25
get_google_font_setting()
S
56 6 19
generate_css_file()
S
56 5 19
inline_dynamic_css()
S
55 4 19
font_family_helper()
S
59 4 14
build_inline_style()
S
59 4 13
resource_hints()
S
63 4 11
remove_dynamic_file()
S
63 3 11
gradient_style()
S
57 2 16
check_folder()
S
64 3 9
get_font_url()
S
69 3 7
load_google_font()
S
72 2 6
get_instance()
S
71 2 6
extract_outputs()
S
78 2 3
get_file_hash()
S
69 2 7
generate_google_font_index()
S
64 2 10
get_active_callback()
S
71 2 6
__construct()
S
69 1 6
concat_element()
S
79 1 3
remove_css_option()
S
80 1 3
get_file_url()
S
74 1 4
get_file_path()
S
74 1 4
allow_double_quote()
S
79 1 3
allow_greater_sign()
S
79 1 3
inline_preview_style_id()
S
74 1 4
allow_style()
S
75 1 4
generate_random()
S
73 1 4